// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity.p_view;

import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.FrameLayout;

// Referenced classes of package com.nnee.p_pr.p_activity.view:
//            l, w

public class cls_n
    implements android.view.animation.Animation.AnimationListener
{

    public cls_n(Context context, FrameLayout framelayout, View view)
    {
        a = framelayout;
        b = view;
        e = AnimationUtils.loadAnimation(context, 0x7f04000b);
        f = AnimationUtils.loadAnimation(context, 0x7f04000c);
        f.setAnimationListener(this);
    }

    public void a(View view)
    {
        c = view;
        view.bringToFront();
        view.startAnimation(e);
        view.setVisibility(0);
        if(b != null)
        {
            b.setVisibility(4);
            b.startAnimation(f);
        } else
        {
            b = view;
        }
    }

    public void a(cls_w w)
    {
        d = w;
    }

    public void onAnimationEnd(Animation animation)
    {
        b.clearAnimation();
        (new Handler(Looper.getMainLooper())).post(new cls_l(this, b));
        b = c;
    }

    public void onAnimationRepeat(Animation animation)
    {
    }

    public void onAnimationStart(Animation animation)
    {
    }

    FrameLayout a;
    View b;
    View c;
    cls_w d;
    private Animation e;
    private Animation f;
}
